import { Qrcode } from './qrcode.entity'
import { Entity, PrimaryGeneratedColumn, OneToMany } from 'typeorm'

@Entity()
export class QrcodeTheme {
  @PrimaryGeneratedColumn()
  id: number

  @OneToMany(type => Qrcode, qrcode => qrcode.theme)
  qrcodes: Qrcode[]
}
